<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="{% url 'app:tc' %}">退出</a>
<form action="" method="post">
    {% csrf_token %}
    <tr>
        <td><input type="text" name="phone"></td>
        <td><input type="submit" name="提交"></td>
        {{ error }}
    </tr>
</form>

</body>
</html>